package com.sy.mapper;

import com.sy.bean.Receipt;
import com.sy.bean.pucharse.excel.PurchaseExcel;
import com.sy.bean.pucharse.excel.ReceiptExcel;
import com.sy.common.crud.IMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ReceiptMapper extends IMapper<Receipt> {
    int audit(int id);
    /**
     * 导出的付款单列表
     * @param map
     * @return
     */
    List<ReceiptExcel> exportRec(Map map);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    int batchDelete(@Param("ids") List<Integer> ids);
}
